#include "pch.h"
#include "AsyncLibImpl.h"

HMODULE g_hModule;

BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID)
{
	switch (dwReason)
	{
	case DLL_PROCESS_ATTACH:
		g_hModule = hModule;
		break;

	case DLL_PROCESS_DETACH:
		break;
	}

	return TRUE;
}

namespace AsyncLib
{

CAsyncLib g_asyncLib;

IAsyncLib& GetAsyncLib()
{
	return g_asyncLib;
}

} // namespace AsyncLib
